Optimal. Leaf size=107 \[ \frac {5 \tanh ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {a \cos (c+d x)+a}}\right )}{16 \sqrt {2} a^{5/2} d}+\frac {5 \sin (c+d x)}{16 a d (a \cos (c+d x)+a)^{3/2}}-\frac {\sin (c+d x)}{4 d (a \cos (c+d x)+a)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {2750, 2650, 2649, 206} \[ \frac {5 \tanh ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {a \cos (c+d x)+a}}\right )}{16 \sqrt {2} a^{5/2} d}+\frac {5 \sin (c+d x)}{16 a d (a \cos (c+d x)+a)^{3/2}}-\frac {\sin (c+d x)}{4 d (a \cos (c+d x)+a)^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2649
Rule 2650
Rule 2750
Rubi steps
\begin {align*} \int \frac {\cos (c+d x)}{(a+a \cos (c+d x))^{5/2}} \, dx &=-\frac {\sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {5 \int \frac {1}{(a+a \cos (c+d x))^{3/2}} \, dx}{8 a}\\ &=-\frac {\sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {5 \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {5 \int \frac {1}{\sqrt {a+a \cos (c+d x)}} \, dx}{32 a^2}\\ &=-\frac {\sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {5 \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}-\frac {5 \operatorname {Subst}\left (\int \frac {1}{2 a-x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{16 a^2 d}\\ &=\frac {5 \tanh ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {a+a \cos (c+d x)}}\right )}{16 \sqrt {2} a^{5/2} d}-\frac {\sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {5 \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.25, size = 65, normalized size = 0.61 \[ \frac {2 \sin (c+d x)+5 \sin (2 (c+d x))+40 \cos ^5\left (\frac {1}{2} (c+d x)\right ) \tanh ^{-1}\left (\sin \left (\frac {1}{2} (c+d x)\right )\right )}{32 d (a (\cos (c+d x)+1))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.02, size = 188, normalized size = 1.76 \[ \frac {5 \, \sqrt {2} {\left (\cos \left (d x + c\right )^{3} + 3 \, \cos \left (d x + c\right )^{2} + 3 \, \cos \left (d x + c\right ) + 1\right )} \sqrt {a} \log \left (-\frac {a \cos \left (d x + c\right )^{2} - 2 \, \sqrt {2} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {a} \sin \left (d x + c\right ) - 2 \, a \cos \left (d x + c\right ) - 3 \, a}{\cos \left (d x + c\right )^{2} + 2 \, \cos \left (d x + c\right ) + 1}\right ) + 4 \, \sqrt {a \cos \left (d x + c\right ) + a} {\left (5 \, \cos \left (d x + c\right ) + 1\right )} \sin \left (d x + c\right )}{64 \, {\left (a^{3} d \cos \left (d x + c\right )^{3} + 3 \, a^{3} d \cos \left (d x + c\right )^{2} + 3 \, a^{3} d \cos \left (d x + c\right ) + a^{3} d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.46, size = 103, normalized size = 0.96 \[ -\frac {\sqrt {a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a} {\left (\frac {2 \, \sqrt {2} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2}}{a^{3}} - \frac {3 \, \sqrt {2}}{a^{3}}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + \frac {5 \, \sqrt {2} \log \left ({\left | -\sqrt {a} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + \sqrt {a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a} \right |}\right )}{a^{\frac {5}{2}}}}{32 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.31, size = 174, normalized size = 1.63 \[ \frac {\sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (5 \sqrt {2}\, \ln \left (\frac {4 \sqrt {a}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}+4 a}{\cos \left (\frac {d x}{2}+\frac {c}{2}\right )}\right ) a \left (\cos ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+5 \sqrt {a}\, \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-2 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}\right )}{32 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{3} a^{\frac {7}{2}} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\cos \left (c+d\,x\right )}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{5/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos {\left (c + d x \right )}}{\left (a \left (\cos {\left (c + d x \right )} + 1\right )\right )^{\frac {5}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________